<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<style>
    div{
        width: 250px;
        margin: 0 auto;
    }
    h2{
        text-align: center;
    }
    span{
        position: relative;
        left: 80px;
    }
</style>
<body>
<div>
    <h2>用户登录</h2>
    <form action="LoginServlet" method="post">
        用户：<input type="text" name="username" id="username" /><br/>
        密码：<input type="password" name="pwd" id="pwd" /><br/><br/>
        <span><input type="submit" value="登录"/><a href="adminRegister.html">注册</a></span>
    </form>
</div>
</body>
</html>